package io.gitee.yth.design.pattern.test.core.pattern.behavioral.template;

import org.junit.jupiter.api.Test;

/**
 * @author yth
 * @since 2023-04-28-18:29
 */
public class Client {
    @Test
    public void test1() {
        SoybeanMilkTemplate soybeanMilk = new RedBeanSoybeanMilk();
        soybeanMilk.makeSoybeanMilk();
    }

    @Test
    public void test2() {
        SoybeanMilkTemplate soybeanMilk = new PeanutSoybeanMilk();
        soybeanMilk.makeSoybeanMilk();
    }
}
